package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetMealMapper {

    void add(Setmeal setmeal);

    void setSetMealIdAndCheckgroupId(Map map);

    Page<Setmeal> findByCondition(String queryString);

    List<Integer> findCheckgroupIds(Integer setmealId);

    List<Setmeal> getAllSetmeal();

    Setmeal findById(Integer id);

    void edit(Setmeal setmeal);

    void deleteAssociation(Integer setmealId);

    void setCheckgroupIdBySetmealId(Map map);

    void deleteById(Integer id);

    List<String> getAllImg();

    List<Map<String, Object>> findSetmealCount();
}
